#include<stdio.h>

int main()
{
    char s[100]=" I like ,,,..C++ programming!";
	char a[100]="";
    int i=0,j=0;
    while(s[i]!='\0')
    {
          if(s[i]==' '||s[i]==','||s[i]=='.'||s[i]=='!'||s[i]=='?')
          {
			      i++;
          }
          else
		  {
			  a[j]=s[i];
			  if(s[i+1]==' '||s[i+1]==','||s[i+1]=='.'||s[i+1]=='!'||s[i+1]=='?')
			  {
				  a[j+1]=s[0];
				  j++;
			  }
			  j++;
			  i++;
		  }
    }
	puts(a);
	printf("\n");
    return 0;
}
